<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="<?php echo base_url();?>system/application/views/html/images/default/css/style.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="<?php echo base_url();?>system/application/views/html/images/js/jslib.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>system/application/views/html/images/js/swf_noclick.js"></script>
<title>资讯</title>
  <style type="text/css">   
          
        #tab{ float:left;
             width:741px;    
             border:0px;
        }    
		#tab p.font{ text-align:right;}
        #menu    
        {    
            float:left;    
            z-index:0;             
        }    
        #menu ul    
        {       
            margin:0px;    
            padding:0px;    
            list-style-type:none;    
        }    
        #menu li  
        {    height:22px;
             float:left; 
             display:block;    
             cursor:pointer;    
             width:80px;    
             text-align:center;    
             padding:2px 0px;    
             background-color:#009966;  
             border-right:1px solid #fff; 
			 
        }    
		#menu li a{ font-weight:bold; color:#Fff;}
        #menu li.hover{    
            background:#006666;    
            border-bottom:solid 1px #fff;    
        }    
        #main1     
        {               
            z-index:-1;    
            position :relative;    
            top:-1px;   
            clear:left; border:1px solid #dcdcdc;
			width:735px;
			height:350px;
			background:#FFF;
			padding-top:20px;
        }    
        #main1 ul{    
            display: none;    
            list-style:none;
        }    
        #main1 ul.block{    
            display: block;    
        }    
    </style>   
    <script type="text/javascript">   
         function setTab(n){    
             var tli=document.getElementById("menu").getElementsByTagName("li");    
             var mli=document.getElementById("main1").getElementsByTagName("ul");    
             for(i=0;i<tli.length;i++){    
              tli[i].className=i==n?"hover":"";    
              mli[i].style.display=i==n?"block":"none";    
             }    
        }                    
    </script>   


</head>
<body>
<div id="wrapper">
  <div class="header">
    <div class="header_left"></div>
    <div class="header_right">
      <li class="bg"><a href="<?php echo base_url();?>">首　页</a></li>
      <li><a href="">行业资讯</a></li>
      <li><a href="<?php echo site_url()?>/list_product/list_goods">产品世界</a></li>
      <li><a href="" target="_blank">数码论坛</a></li>
      <li><a href="">会员中心</a></li>
      <li><a href="">客户服务</a></li>
      <div class="clear"></div>
    </div>
    <div class="clear"></div>
  </div>
  <div class="banner"><img src="<?php echo base_url();?>system/application/views/html/images/default/img/banner.png" /></div>  <div class="newslist">    <div class="proleftlist spacesix">
    <p class="spacefour"><img src="<?php echo base_url();?>system/application/views/html/images/default/img/adthree.png" /></p>
      <div class="proborder spacefour">
      <form id="form1" name="form1" method="POST" action="">
        <div>产品搜索</div>
        <div class="spacefive">
          <input type="text" name="keyword" style="width:114px;" class="searchtext" />
          <input type="submit" name="Submit" value="" class="searchsub" />
        </div>
       </form>
      </div>
      <div class="promenuleft spacefour">
       
            <li class="font">产品世界</li>
                <li class="bg"><span class="fl">&nbsp;数码相机</span><img src="<?php echo base_url();?>system/application/views/html/images/default/img/proicon.png" class="fr" /></li>
  <li>
<?php foreach($dc->result() as $dc2):?>
  <?php echo "<a href=#>".$dc2->title."</a>";?>
  <?php endforeach; ?>
  <li class="bg"><span class="fl">&nbsp;手机</span><img src="<?php echo base_url();?>system/application/views/html/images/default/img/proicon.png" class="fr" /></li>
  <li>
<?php foreach($phone->result() as $phone2):?>
  <?php echo "<a href=#>".$phone2->title."</a>";?>
  <?php endforeach; ?>
  
  <li class="bg"><span class="fl">&nbsp;笔记本</span><img src="<?php echo base_url();?>system/application/views/html/images/default/img/proicon.png" class="fr" /></li>
  <li>
<?php foreach($notebook->result() as $notebook2):?>
  <?php echo "<a href=#>".$notebook2->title."</a>";?>
  <?php endforeach; ?> 
  </li>
  
  
      </div>
    </div>
 
   
        

    <div id="tab">   
    		<p class="font">当前位置: 首页 > 行业资讯</p>
        <div id="menu">   
          <ul>   
            <li class="hover" onmouseover="setTab(0)"><a href="#">资讯头条</a></li>   
            <li onmouseover="setTab(1)"><a href="#">专家观点</a></li>   
            <li onmouseover="setTab(2)"><a href="#">产品点评</a></li>                         
            <li onmouseover="setTab(3)"><a href="#">网站公告</a></li>                      
          </ul>     
        </div>   
       <div  id="main1">   
            <ul class="block">  
            <?php foreach ($toutiao->result() as $toutiao2):?>                     
              <li>
              		<dl>
          <dt><a href="<?php echo site_url();?>/display_index/newscontent/<?php echo $toutiao2->newsid?>" class="newslink"><?php echo $toutiao2->title;?></a></dt>
          <dd>[<?php echo date("Y-m-d",$toutiao2->times)?>]</dd>
        </dl>      
              </li>   
              <?php endforeach;?>
            </ul>   
            <ul>  
             <?php foreach ($zhuanjia->result() as $zhuanjia2):?>     
              <li>
              <dl>
          <dt><a href="<?php echo site_url();?>/display_index/newscontent/<?php echo $zhuanjia2->newsid?>" class="newslink"><?php echo $zhuanjia2->title;?></a></dt>
          <dd>[<?php echo date("Y-m-d",$toutiao2->times)?>]</dd>
        </dl> 
              </li>  
              <?php endforeach;?> 
            </ul>   
            <ul>   
             <?php foreach ($chanpin->result() as $chanpin2):?>     
              <li>
              <dl>
          <dt><a href="<?php echo site_url();?>/display_index/newscontent/<?php echo $chanpin2->newsid?>" class="newslink"><?php echo $chanpin2->title;?></a></dt>
          <dd>[<?php echo date("Y-m-d",$chanpin2->times)?>]</dd>
        </dl> 
              </li>  
              <?php endforeach;?>   
            </ul>   
            <ul>   
                <?php foreach ($gonggao->result() as $gonggao2):?>     
              <li>
              <dl>
          <dt><a href="<?php echo site_url();?>/display_index/newscontent/<?php echo $gonggao2->newsid?>" class="newslink"><?php echo $gonggao2->title;?></a></dt>
          <dd>[<?php echo date("Y-m-d",$gonggao2->times)?>]</dd>
        </dl> 
              </li>  
              <?php endforeach;?>   
            </ul>   
      </div>   
    </div> 
      
      <div class="clear"></div>
    </div>
    
    <div class="newslist">
    <div class="newstitle">
      <div class="newstitleleft">友情链接</div>
      <div class="newstitler"> </div>
    </div>
    <div class="link">
      <table width="966" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td align="center"><img src="<?php echo base_url();?>system/application/views/html/images/default/img/linkone.png" /></td>
          <td align="center"><img src="<?php echo base_url();?>system/application/views/html/images/default/img/linktwo.png" /></td>
          <td align="center"><img src="<?php echo base_url();?>system/application/views/html/images/default/img/linkthree.png" /></td>
          <td align="center"><img src="<?php echo base_url();?>system/application/views/html/images/default/img/linkfour.png" /></td>
          <td align="center"><img src="<?php echo base_url();?>system/application/views/html/images/default/img/linkfive.png" /></td>
          <td align="center"><img src="<?php echo base_url();?>system/application/views/html/images/default/img/linksix.png" /></td>
          <td align="center"><img src="<?php echo base_url();?>system/application/views/html/images/default/img/linkseven.png" /></td>
        </tr>
      </table>
    </div>
    <div class="clear"></div>
  </div>
  <div class="footer">
    <p>关于我们 | 客户服务 | 联系我们 | 人才招聘 | 数码论坛</p>
    <p>广州市公安局天河分局备案编号：<span class="red">1101081463</span> &nbsp;&nbsp;&nbsp;粤ICP证<span class="red">070359号</span></p>
    <p>Copyright 2004-2008 中国数码网 版权所有</p>
    <div class="spacetwo">
      <table width="495" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="<?php echo base_url();?>system/application/views/html/images/default/img/footerone.png" /></td>
          <td><img src="<?php echo base_url();?>system/application/views/html/images/default/img/footertwo.png" /></td>
          <td><img src="<?php echo base_url();?>system/application/views/html/images/default/img/footerthree.png" /></td>
          <td><img src="<?php echo base_url();?>system/application/views/html/images/default/img/footerfour.png" /></td>
        </tr>
      </table>
    </div>
  </div>
</div>
</body>
</html>